package com.ryh.service.impl;

import com.ryh.entity.Permission;
import com.ryh.mapper.PermissionMapper;
import com.ryh.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * @ClassName PermissionServiceImpl
 * @Description TODO
 * @Author RaoYH
 */
@Service
public class PermissionServiceImpl implements PermissionService {

    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public List<Permission> findByIds(Set<Integer> permissionIds) {
        return permissionMapper.findByIds(permissionIds);
    }
}
